package com.mls.fivedistrict.enums;

/**
 * 回收时间频率枚举
 * Created by chenxiuxiang on 2018/3/21.
 */
public enum RecycleFrequencyEnum {
    ONEDAY("oneDay", 24),
    TWODAY("twoDay", 48),
    THREEDAT("threeDay", 72);
    private String code;
    private int value;

    RecycleFrequencyEnum(String code, int hour) {
        this.code = code;
        this.value = hour;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
